pp108 : createconnectionpoint - Ant Task

createconnectionpoint - Ant Task

Description

createconnectionpoint Ant task creates a Connection Point for the given Service Container.

Sample Usage

The following code describes the procedure to create a Connection Point MyConnectionPoint for the Service Container WS-AppServer container.

<createconnectionpoint labeleduri=""
    ldapRoot="cn=cordys,cn=bopcu7,o=myorg.com" name="MyConnectionPoint"
    organization="myorganization" override="true" server="cin400333l"
    servicecontainerName="WS-AppServer container" servicegroupName="WS-AppServer Test"/>

Parameters

Attribute

Description

Type

Required

name

Name of the Connection Point.

String

Yes

organization

Name of the organization in which the connection point will be created.

String

Yes

servicegroupName

Name of the Service Group which contains the Service Container.

String

Yes

servicecontainerName

Name of the Service Container under which the Connection Point will be created.

String

Yes

connectionType

Indicates the type of Connection Point. The following values are the possible values:

  • TCP/IP
  • MSMQ
  • JMS
  • Other
    The default value is "TCP/IP".

String

No

protocol

This attribute is required only if the connectionType is set to TCP/IP. Possible values are:

  • socket (both compression and ssl disabled)
  • zipsocket (compression enabled)
  • sslsocket (ssl enabled)
  • zipsslsocket (both compresson and ssl enabled)
    The default value is socket.

String

No

port

The attribute is required only if the connectionType is set to TCP/IP. Possible values are:

  • auto ( Automatically connects to the available port.)
  • any valid port number
    The default value is auto.

Integer

No

labeleduri

Valid uniform resource identifier (URI) that uses queues. It is used for all the connection types except for TCP/IP.
Possible values are:

  • If connectionType is MSMQ and distributed transaction is enabled:msmq://<MachineName>/private$\<QueueName>
  • If connectionType is MSMQ and distributed transaction disabled: msmq://<MachineName>/<QueueName>
  • If connectionType is JMS (distributed transaction enabled/disabled): jms://<QueueName>
  • Other : Can be any valid URI.

String

No

configurationFile

Refers to the file that contains the configuration details and distributed details of the Connection Point.

String

No

server

Name of the server of Process Platform instance.

String

Yes

ldapRoot

LDAP root of the Process Platform instance.

String

Yes

override

Property to update the existing connection point.

Boolean

No

failOnError

Boolean flag aborts the build when an exception occurs in the task.

Boolean

No